﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPageTra.master" AutoEventWireup="true"
    CodeFile="Payment.aspx.cs" Inherits="Hospital_Payment" Title="Untitled Page" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script language="vbscript" src="../Common/yz.vbs"></script>

    <script language="javascript" src="../common/javascript/calendar.js" type="text/javascript"></script>

    <table width="98%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="4">
                <img src="../images/intro_left.gif" width="4" height="34"></td>
            <td class="intro_wordbg">
                结算管理</td>
            <td background="../images/intro_bg.gif">
                <img src="../images/intro_right.jpg" width="118" height="34"></td>
        </tr>
    </table>
    <table width="98%" border="0" cellpadding="2" cellspacing="1" id="tabData">
        <tr>
            <td align="right" style="height: 26px">
                结算单名称：</td>
            <td style="height: 26px">
                <asp:TextBox ID="txtPaymentName" runat="server" Width="197px"  InvertedComma="结算单名称"></asp:TextBox>
            </td>
            <td align="right" style="height: 26px">
                结算状态：</td>
            <td style="height: 26px">
                <asp:DropDownList ID="DLPayStatus" runat="server" Width="197px">
                    <asp:ListItem Value="全部" Selected="True">全部</asp:ListItem>
                    
                    <asp:ListItem Value="已提交">已提交</asp:ListItem>
                    <asp:ListItem Value="配送企业已确认">配送企业已确认</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td align="right" style="height: 26px">
                配送企业名称：</td>
            <td style="height: 26px">
                <asp:TextBox ID="txtCompanyName_PS" runat="server" Width="197px" InvertedComma="配送企业名称"></asp:TextBox>&nbsp;
            </td>
            <td align="right" style="height: 26px">
                配送企业注册号：</td>
            <td style="height: 26px">
                <asp:TextBox ID="txtUserCode_PS" runat="server" Width="197px" InvertedComma="配送企业注册号"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right" style="height: 26px"> 
                结算单编号：</td>
            <td style="height: 26px">
                <asp:TextBox ID="txtPaymentId" runat="server" Width="197px" InvertedComma="结算单编号"></asp:TextBox></td>
            <td align="right" style="height: 26px">
                发票号：</td>
            <td style="height: 26px">
                <asp:TextBox ID="txtInvoiceId" runat="server" Width="197px" InvertedComma="发票号"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right" style="height: 26px">
            </td>
            <td style="height: 26px">
                &nbsp;
            </td>
            <td align="left" style="height: 26px">
                <asp:Button ID="Button5" runat="server" Text="查 询" CssClass="button_bg" OnClientClick="javascript:return CheckForm();"
                    Width="60px" /></td>
            <td style="height: 26px">
                <input id="Submit1" type="submit" value="删除结算单"  onclick="javascript:if(confirm('确认删除吗？')){return CheckForm();}else {return false;}" class="button_bg6" style="width: 92px"
                    name="del" />&nbsp;
            </td>
        </tr>
    </table>
    <asp:DataList ID="DlAttorney" runat="server" Width="98%" CssClass='table_table' HeaderStyle-CssClass='table_title'>
        <ItemStyle CssClass="table_td" />
        <AlternatingItemStyle CssClass="table_td2" />
        <HeaderTemplate>
            <table width="98%">
                <tr>
                   <td align="center" width="6%">
                        结算单编号</td>
                    <td align="center" width="14%">
                        结算单名称</td>
                    <td align="center" width="14%">
                        配送企业名称</td>
                    <td align="center" width="8%">
                        注册号</td>
                    <td align="center" width="10%">
                        结算金额</td>
                   
                    <td align="center" width="10%">
                        结算状态</td>
                    <td align="center" width="8%">
                        修改</td>
                    <td align="center" width="6%">
                        选择</td>
                </tr>
            </table>
        </HeaderTemplate>
        <ItemTemplate>
            <table width="98%">
                <tr>
                   <td width="6%" align="center">
                        <a href="../Bidder/Receiptiddetail.aspx?PaymentId=<%# DataBinder.Eval(Container.DataItem, "PaymentId")%>" target="_blank">
                            
                            <%# DataBinder.Eval(Container.DataItem, "PaymentId")%>
                        </a>
                    </td>
                    <td width="14%" align="center">
                        <%# DataBinder.Eval(Container.DataItem, "PaymentName")%>
                    </td>
                    <td width="14%" align="center">
                        <%# DataBinder.Eval(Container.DataItem, "CompanyName_PS")%>
                    </td>
                    <td width="8%" align="center">
                        <%# DataBinder.Eval(Container.DataItem, "UserCode_PS")%>
                    </td>
                    <td width="10%" align="center">
                        <%# DataBinder.Eval(Container.DataItem, "PaymentPrice")%>
                    </td>
                    
                    <td width="10%" align="center">
                        <%# DataBinder.Eval(Container.DataItem, "PaymentState")%>
                    </td>
                    <td width="8%" align="center">
                        <a href="UpdatePayMent.aspx?PaymentId=<%# DataBinder.Eval(Container.DataItem, "PaymentId")%>"
                            target="_blank">
                            <%# DataBinder.Eval(Container.DataItem, "UpdatePayment")%>
                        </a>
                    </td>
                    <td width="6%" align="center">
                        <input type="checkbox" name="delcheck" value="<%# DataBinder.Eval(Container.DataItem, "PaymentId")%>"
                            <%# DataBinder.Eval(Container.DataItem, "disabled")%> />
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
    <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
</asp:Content>
